home *** CD-ROM | disk | FTP | other *** search
- Path: news.vtt.fi!usenet
- From: Mikko Kiviranta <Mikko.Kiviranta@vtt.fi>
- Newsgroups: comp.graphics.api.opengl,comp.lang.c++
- Subject: Watcom C++ and OpenGL
- Date: 12 Mar 1996 20:02:56 GMT
- Organization: Technical Research Centre of Finland
- Message-ID: <4i4l9g$bj9@lilja.vtt.fi>
- NNTP-Posting-Host: autmsk.sah.vtt.fi
-
-
- I wonder how one compiles/links OpenGL applications in a
- Watcom C++ 10.5 / WinNT 3.51 environment?
-
- I tried building the sample program from the WinNT SDK online
- documentation (a sample ported from X-Windows) but I got a
- lot of "undefined symbol" errors from the linker. The header
- files gl.h, glu.h and glaux.h are where they belong but in the
- libraries directory there are only glu32.lib and glaux.lib. Am I
- missing a library file corresponding to gl.h? If so where do I get
- one?
-
- All the error messages referred to symbol names beginning with
- "gl" or "wgl" (like wglCreateContext or glPushMatrix) which fact
- supports the missing-library theory.
-
- Browsing thru the InfoBase CD-ROM I saw some discussion of how
- to do OpenGL with Watcom C++ 10.0. That discussion indicated that
- you're supposed to hand-code your own header files and make an
- import library out of the NT's bundled opengl.dll with the WLIB
- utility. Surely this is no longer necessary with 10.5? At least
- the header files have been provided by Watcom.
-
- Any info warmly appreciated.
-
- Thanks,
- Mikko Kiviranta, msk@sah.vtt.fi
-
-
-
-